<template>
  <div class="common-layout">
    <el-container>
      <el-aside width="auto"><nav-menu></nav-menu></el-aside>
      <el-container>
        <el-header>
          <nav-header height="auto"></nav-header>
        </el-header>

        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import NavMenu from "../components/NavMenu.vue";
import NavHeader from "../components/NavHeader.vue";
</script>

<style lang="less" scoped>
.el-header {
  padding: 0;
  border-bottom: 1px solid #dcdfe6;
}
.el-main {
  background-color: #f9f9f9;
}
</style>
